package com.yixuan.mt.console.config;

import org.springframework.context.annotation.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan(value = {"com.yixuan.mt.console", "com.yixuan.mt.core", "com.yixuan.mt.common"}, excludeFilters = @ComponentScan.Filter(type = FilterType.REGEX, pattern = {"com.yixuan.mt.console.config.*", "com.yixuan.mt.common.mapper.*", "com.yixuan.mt.common.service.*"}))
@PropertySource(value = "classpath:application.yml", factory = YamlPropertySourceFactory.class)
@Import({DynamicRegisterBeanConfig.class, BeanConfig.class})
@EnableTransactionManagement
public class SpringConfig {
}